/**
 * @file mock data
 * @author autoresponse
 */

/* eslint-disable fecs-camelcase */

/**
 * 获取 mock 响应数据
 *
 * @param {string} path 请求路径名
 * @param {Object} queryParam 查询参数信息
 * @param {Object} postParam post 的查询参数信息
 * @return {Object}
 */
module.exports = function (path, queryParam, postParam) {
    return {
        // 可以通过该属性来设置响应的延时，也可以设为值为'0,100'，表示随机 0-100ms 的延时，默认 0
        _timeout: 0,

        // 通过该状态来设置响应的 http 的状态码，默认 200
        _status: 200,

        // 对于要响应的 json 数据可以统一放在该字段里，也可以不使用该字段，直接跟 _xx 属性平级放
        _data: {
            "data": {
                "list": [{
                    "numOver": 0.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-21 09:55:24",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161021000130016072010955221244",
                    "tradeGopType": "SELL",
                    "version": 2,
                    "consignStatus": "RECV",
                    "tradedGop": 32.01000,
                    "market": 0E-7,
                    "numTotal": 32.01000,
                    "uid": 11573,
                    "price": 0E-7,
                    "tradeGopStatus": "SUCCESS",
                    "id": 31353,
                    "tradeGopFlag": "MARKET",
                    "totalTraded": 499.3560000,
                    "createDate": "2016-10-21 09:55:22"
                }, {
                    "numOver": 1.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-20 09:51:27",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161020000130016072010951272006",
                    "tradeGopType": "BUY",
                    "version": 2,
                    "consignStatus": "RECV",
                    "tradedGop": 0.00000,
                    "market": 0E-7,
                    "numTotal": 1.00000,
                    "uid": 11573,
                    "price": 5.0000000,
                    "tradeGopStatus": "CANCEL",
                    "id": 31294,
                    "tradeGopFlag": "FIXED",
                    "totalTraded": 0E-7,
                    "createDate": "2016-10-20 09:51:27"
                }, {
                    "numOver": 0.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-14 14:07:12",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161014000130016072011407113059",
                    "tradeGopType": "SELL",
                    "version": 2,
                    "consignStatus": "RECV",
                    "tradedGop": 25.59000,
                    "market": 0E-7,
                    "numTotal": 25.59000,
                    "uid": 11573,
                    "price": 0E-7,
                    "tradeGopStatus": "SUCCESS",
                    "id": 30892,
                    "tradeGopFlag": "MARKET",
                    "totalTraded": 398.6922000,
                    "createDate": "2016-10-14 14:07:11"
                }, {
                    "numOver": 0.14000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-12 15:33:04",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161012000130016070011533046755",
                    "tradeGopType": "BUY",
                    "version": 2,
                    "consignStatus": "RECV",
                    "tradedGop": 0.00000,
                    "market": 0E-7,
                    "numTotal": 0.14000,
                    "uid": 11573,
                    "price": 1.0000000,
                    "tradeGopStatus": "CANCEL",
                    "id": 30730,
                    "tradeGopFlag": "FIXED",
                    "totalTraded": 0E-7,
                    "createDate": "2016-10-12 15:33:04"
                }, {
                    "numOver": 0.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-09 19:20:39",
                    "marketOver": 0.1400000,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161009000130016072011920384072",
                    "tradeGopType": "BUY",
                    "version": 3,
                    "consignStatus": "RECV",
                    "tradedGop": 1.00000,
                    "market": 15.7000000,
                    "numTotal": 0.00000,
                    "uid": 11573,
                    "price": 0E-7,
                    "tradeGopStatus": "CANCEL",
                    "id": 30434,
                    "tradeGopFlag": "MARKET",
                    "totalTraded": 15.5600000,
                    "createDate": "2016-10-09 19:20:38"
                }, {
                    "numOver": 0.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-09 17:51:51",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161009000130016072011751493946",
                    "tradeGopType": "SELL",
                    "version": 2,
                    "consignStatus": "RECV",
                    "tradedGop": 1.00000,
                    "market": 0E-7,
                    "numTotal": 1.00000,
                    "uid": 11573,
                    "price": 0E-7,
                    "tradeGopStatus": "SUCCESS",
                    "id": 30416,
                    "tradeGopFlag": "MARKET",
                    "totalTraded": 15.5500000,
                    "createDate": "2016-10-09 17:51:49"
                }, {
                    "numOver": 0.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-09 16:22:33",
                    "marketOver": 0.1456000,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161009000130016072011622303806",
                    "tradeGopType": "BUY",
                    "version": 3,
                    "consignStatus": "RECV",
                    "tradedGop": 0.99000,
                    "market": 15.5500000,
                    "numTotal": 0.00000,
                    "uid": 11573,
                    "price": 0E-7,
                    "tradeGopStatus": "CANCEL",
                    "id": 30396,
                    "tradeGopFlag": "MARKET",
                    "totalTraded": 15.4044000,
                    "createDate": "2016-10-09 16:22:31"
                }, {
                    "numOver": 0.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-09 15:50:00",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161009000130016072011549573751",
                    "tradeGopType": "SELL",
                    "version": 3,
                    "consignStatus": "RECV",
                    "tradedGop": 1.00000,
                    "market": 0E-7,
                    "numTotal": 1.00000,
                    "uid": 11573,
                    "price": 0E-7,
                    "tradeGopStatus": "SUCCESS",
                    "id": 30384,
                    "tradeGopFlag": "MARKET",
                    "totalTraded": 15.5520000,
                    "createDate": "2016-10-09 15:49:58"
                }, {
                    "numOver": 1.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-08 14:13:15",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161008000130016072011413151276",
                    "tradeGopType": "SELL",
                    "version": 2,
                    "consignStatus": "RECV",
                    "tradedGop": 0.00000,
                    "market": 0E-7,
                    "numTotal": 1.00000,
                    "uid": 11573,
                    "price": 16.0000000,
                    "tradeGopStatus": "CANCEL",
                    "id": 30018,
                    "tradeGopFlag": "FIXED",
                    "totalTraded": 0E-7,
                    "createDate": "2016-10-08 14:13:15"
                }, {
                    "numOver": 1.00000,
                    "createip": "0.0.0.0",
                    "updateDate": "2016-10-08 10:37:42",
                    "marketOver": 0E-7,
                    "updateip": "0.0.0.0",
                    "transactionNo": "20161008000130016072011037412876",
                    "tradeGopType": "SELL",
                    "version": 2,
                    "consignStatus": "RECV",
                    "tradedGop": 0.00000,
                    "market": 0E-7,
                    "numTotal": 1.00000,
                    "uid": 11573,
                    "price": 15.5900000,
                    "tradeGopStatus": "CANCEL",
                    "id": 29766,
                    "tradeGopFlag": "FIXED",
                    "totalTraded": 0E-7,
                    "createDate": "2016-10-08 10:37:42"
                }], "pageNum": 15
            }, "msg": "success", "code": "100200"
        }
    };
};

/* eslint-enable fecs-camelcase */
